﻿using System.Collections.Generic;

namespace DataScripter.Database
{
    public interface ITableStructure
    {
        string SchemaName { get; }
        string TableName { get; }
        IList<IForeignKey> ForeignKeys { get; }
        IList<IForeignKey> ForeignKeysPointingToThisTable { get; }
        IList<FieldInfo> PrimaryKeyFields { get; }
        IDictionary<string, FieldInfo> Fields { get; }
        bool HasIdentityFields { get; }
    }
}